//
//  GQRecommandCell.m
//  MyMusic
//
//  Created by sunny on 16/4/3.
//  Copyright © 2016年 sunny. All rights reserved.
//

#import "GQRecommandCell.h"
#import <UIImageView+WebCache.h>
#import "GQRecommandSongItem.h"
@interface GQRecommandCell ()
@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *listnumLabel;
@property (weak, nonatomic) IBOutlet UILabel *title_label;

@end

@implementation GQRecommandCell

- (void)setRecommandSongItem:(GQRecommandSongItem *)recommandSongItem
{
    _recommandSongItem = recommandSongItem;
    
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:recommandSongItem.pic]placeholderImage:[UIImage imageNamed:@"default"]];
    self.title_label.text = recommandSongItem.title;
    self.listnumLabel.text = [NSString stringWithFormat:@"%zd",recommandSongItem.listenum];
}
@end
